package com.nwpu.bigdata.util;
/**
 *@version:2018年7月21日上午9:26:25
*/
/**
 * @author Administrator
 *
 */
public interface FuncUtil {
	public Object avg(String type, String hostname, String metric, int param, String unit);

	public Object avg(int param, String unit, String hostname, String dbname, String metric);
	public Object count(String type, String hostname, String metric, int param, String unit);
	public Object count(int param, String unit, String hostname, String dbname, String metric);
	public Object max(String type, String hostname, String metric, int param, String unit);
	public Object max(int param, String unit, String hostname, String dbname, String metric);
	public Object min(String type, String hostname, String metric, int param, String unit);
	public Object min(int param, String unit, String hostname, String dbname, String metric);
	public Object last(String type, String hostname, String metric, int param, String unit);
	public Object last(int param, String unit, String hostname, String dbname, String metric);
	//public Object sum(String type, String hostname, String metric, int param, String unit);
	public Object sum(int param, String unit, String hostname, String dbname, String metric);
}
